package com.mybatis.entity;

public class Department {
	private int dptId;//部门编号
	private String dptName;//部门名称
	private String dptDesc;//部门职务
	private Employee employee;//员工实体类
	/**有参构造方法
	 * @author 安世广
	 * @param dptId
	 * @param dptName
	 * @param dptDesc
	 * @param employee
	 */
	public Department(int dptId, String dptName, String dptDesc, Employee employee) {
		super();
		this.dptId = dptId;
		this.dptName = dptName;
		this.dptDesc = dptDesc;
		this.employee = employee;
	}
	
	/**无参构造方法
	 * @author 安世广
	 */
	public Department() {
		super();
	}
	
	/**get/set方法
	 * 
	 */
	public int getDptId() {
		return dptId;
	}
	public void setDptId(int dptId) {
		this.dptId = dptId;
	}
	public String getDptName() {
		return dptName;
	}
	public void setDptName(String dptName) {
		this.dptName = dptName;
	}
	public String getDptDesc() {
		return dptDesc;
	}
	public void setDptDesc(String dptDesc) {
		this.dptDesc = dptDesc;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
}
